package com.five.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.security.Timestamp;
import java.time.LocalDateTime;
@TableName("gxa_banner")
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Banner implements java.io.Serializable{
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    @TableField("image_url")
    private String imageUrl;
    @TableField("link_url")
    private String linkUrl;
    private String description;
    private Integer position;
    @TableField("sort_order")
    private Integer sortOrder;
    private Integer status;
    @TableField("start_time")
    private LocalDateTime startTime;
    @TableField("end_time")
    private LocalDateTime endTime;
    private LocalDateTime created;
    private LocalDateTime updated;
}
